import request from '@/router/axios';
import { baseUrl } from '@/config/env';

export const sendLogs = (list) => request({
    url: baseUrl + '/user/logout',
    method: 'post',
    data: list
})

export const pageLog = (query) => request({
    url: baseUrl + '/admin/log/page',
    method: 'get',
    params: query
})


export const deleteLog = (id) => request({
    url: baseUrl + '/admin/log/delete/' + id,
    method: 'delete',
});
